@import '../../styles/public.less';

.flex-justify-content() {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.treeSelectGroupMemberSearch {
  .ant-modal-content {
    .ant-modal-body {
      padding: 0;

      .treeSelectGroupMemberSearch-top {
        display: flex;
        padding: 15px;
        background: #F7F7F7;
        justify-content: space-between;
        border-radius: 6px;
      }

      .treeSelectGroupMemberSearch-wrap {
        padding: 1rem;
        height: 56vh; //25rem;
        .flex-justify-content();

        .leftTree {
          padding: 0.9rem;
          height: 100%;
          width: 50%;
          margin-right: 0.8rem;
          background: #FFFFFF;
          border: 1px solid #D5D5D5;
          box-sizing: border-box;
          border-radius: 2px;

          overflow: auto;
          overflow-x: auto !important;
          .commonDScrollbar();
        }

        .rightUser {
          padding: 0 0.9rem 0 0.9rem;
          height: 100%;
          width: 50%;
          background: #FFFFFF;
          border: 1px solid #D5D5D5;
          box-sizing: border-box;
          border-radius: 2px;

          overflow-x: auto !important;
          overflow-y: auto;
          .commonDScrollbar();

          .ant-empty {
            height: calc(100% - 64px);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
          }
        }


      }


    }

    .ant-modal-footer {
      text-align: center;

      .ant-btn:first-child {
        margin-right: 1rem;
      }
    }

    .treeSelectGroupMemberSearch-itemWrap {
      height: 66px;
      border-bottom: 0.5px dashed #CBD5DD;
      padding-right: 15px;
      .flex-justify-content();

      .treeSelectGroupMemberSearch-itemLeft {
        .flex-justify-content();

        .img {
          width: 40px;
          height: 40px;
          border-radius: 40px;
        }

        .treeSelectGroupMemberSearch-spanWrap {
          padding-left: 12px;

          .treeSelectGroupMemberSearch-span1 {
            font-size: 14px;
            color: rgba(0, 0, 0, 0.65);
          }

          .treeSelectGroupMemberSearch-span2 {
            font-size: 10px;
            color: rgba(0, 0, 0, 0.3);

            // max-width: 100px;
            // display: inline-block;
            // overflow: hidden;
            // text-overflow: ellipsis;
            // white-space: nowrap;
          }

          .treeSelectGroupMemberSearch-span3 {
            font-size: 12px;
            color: rgba(0, 0, 0, 0.45);
            padding-top: 5px;

            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
        }
      }
    }
  }
}